package com.woniu.mashangxiadan.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Richie
 * @since 2020-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("order_info")
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    /**
     * 订单状态(0未支付1已支付2店家确认未支付)
     */
    private Integer orderStatus;

    /**
     * 订单备注
     */
    private String orderRemark;

    /**
     * 座位id
     */
    private Integer deskId;

    /**
     * 订单总价
     */
    private Double orderTotalPrices;

    /**
     * 下单时间
     */
    private LocalDateTime orderStartTime;

    /**
     * 结账时间
     */
    private LocalDateTime orderEndTime;

    /**
     * 商家id
     */
    private Integer restaurantId;

    /**
     * 下单人id
     */
    private Integer createOrderUser;

    /**
     * 结账人id
     */
    private Integer payOrderUser;

    /**
     * 付款类型(0网上支付1线下支付)
     */
    private Integer payMoneyType;


}
